{
  "name": "<%= props.projectName %>",
  "version": "1.0.0",
  "scripts": {
    "android": "expo start --android",
	<% if (props.packageManager === "bun") { %>
		"format": "bun run eslint \"**/*.{js,jsx,ts,tsx}\" --fix && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
	<% } else { %>
    	"format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
	<% } %>
    "ios": "expo start --ios",
    "start": "expo start",
    "web": "expo start --web"
  },
  "dependencies": {
    <% if (props.stylingPackage?.name === "nativewind") { %>
      "nativewind": "^4.0.1",
    <% } %>
    
    <% if (props.stylingPackage?.name === "restyle") { %>
      "@shopify/restyle": "^2.4.2",
    <% } %>

    <% if (props.stylingPackage?.name === "tamagui") { %>
      "tamagui": "1.74.8",
      "@tamagui/font-inter": "1.74.8",
      "@tamagui/shorthands": "1.74.8",
      "@tamagui/themes": "1.74.8",
      "@tamagui/react-native-media-driver": "1.74.8",
      "expo-font": "~11.10.2",
    <% } %>

    <% if (props.stylingPackage?.name === "unistyles") { %>
      "react-native-unistyles": "^2.1.1",
    <% } %>

    <% if (props.navigationPackage?.type === "navigation") { %>
      "@react-navigation/native": "^6.1.7",
      "react-native-gesture-handler": "~2.14.0",
      "react-native-safe-area-context": "^4.8.2",
      "react-native-screens": "~3.29.0",
    <% } %>

    <% if (props.navigationPackage?.name === "react-navigation") { %>
      "@react-navigation/stack": "^6.3.17",
      "@expo/vector-icons": "^14.0.0",
    <% } %>

    <% if ((props.navigationPackage?.name === "react-navigation") && (props.stylingPackage?.name === "tamagui")) { %>
      "expo-splash-screen": "~0.26.4",
    <% } %>

    <% if (props.navigationPackage?.options.type === "tabs" && props.navigationPackage?.name === "react-navigation") { %>
      "@react-navigation/bottom-tabs": "^6.5.8",
    <% } %>

    <% if ((props.navigationPackage?.options.type === "drawer + tabs") && (props.navigationPackage?.name === "react-navigation")) { %>
      "@react-navigation/drawer": "^6.6.6",
      "@react-navigation/bottom-tabs": "^6.5.8",
      "react-native-reanimated": "~3.6.2",
    <% } else if (props.navigationPackage?.options.type === "drawer + tabs") { %>
      "@react-navigation/drawer": "^6.6.6",
      "@react-navigation/bottom-tabs": "^6.5.8",
    <% } %>
    
    <% if (props.navigationPackage?.name === "expo-router") { %>
      "@expo/vector-icons": "^14.0.0",
      "expo-linking": "~6.2.2",
      "expo-router": "^3.4.6", 
      "expo-constants": "~15.4.5",     
      "expo-system-ui": "~2.9.3",
      "expo-web-browser": "~12.8.2",
      "react-dom": "18.2.0",
      "react-native-reanimated": "~3.6.2",
      "react-native-web": "~0.19.6",
    <% } %>

	<% if (props.authenticationPackage?.name === "supabase") { %>
	    "@react-native-async-storage/async-storage": "1.18.2",
		"@supabase/supabase-js": "^2.38.4",
		"react-native-url-polyfill": "^2.0.0",
	<% } %>

	<% if (props.authenticationPackage?.name === "firebase") { %>
	  "firebase": "^10.5.2",
	  "react-native-url-polyfill": "^2.0.0",
	<% } %>

    "expo": "~50.0.4",
    "expo-status-bar": "~1.11.1",
    "react": "18.2.0",
    "react-native": "0.73.2"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/react": "~18.2.14",
    "@typescript-eslint/eslint-plugin": "^6.7.2",
    "@typescript-eslint/parser": "^6.7.2",
    "eslint": "^8.50.0",
    "eslint-config-universe": "^12.0.0",
    "prettier": "^3.0.3",
    <% if (props.stylingPackage?.name === "nativewind") { %>
      "tailwindcss": "^3.4.0",
    <% } %>
    <% if (props.stylingPackage?.name === "tamagui") { %>
      "@tamagui/babel-plugin": "1.74.8",
    <% } %>
    "typescript": "^5.1.3"
  },
  "eslintConfig": {
    "extends": "universe/native"
  },
  <% if (props.navigationPackage?.name === 'expo-router') { %>
    "resolutions": {
      "expo-modules-core": "~1.11.0"
    },
    "overrides": {
      "expo-modules-core": "~1.11.0"
    },
      <% } else { %>
    "main": "node_modules/expo/AppEntry.js",
  <% } %>
  <% if (props.navigationPackage?.type === "navigation") { %>
    "expo": {
      "install": {
        "exclude": ["react-native-safe-area-context"]
      }
    },
  <% } %>
  "private": true
}
